import service from "@/utils/http";

export const getArticleList = (page:number,pageSize:number,cateId:number=0) => {
    return service({
        method:'get',
        url:`/article/list?page=${page}&pageSize=${pageSize}&cateId=${cateId}`
    })
}

/*获取博客文章数量分类数量等配置*/
export const getArticleCateConfig = () => {
    return service({
        method:"GET",
        url:"/config/mainFast"
    })
}